![]() |
PBHRstFLockAsync |
||||
Header: | Files.h | Carbon status: | Supported | |
Unlocks a file.
OSErr PBHRstFLockAsync ( HParmBlkPtr paramBlock );
A pointer to a basic HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname for the file to unlock.
On input, a volume specification for the volume on which the file is found.
On input, a directory ID.
Access paths currently in use aren’t affected.
If the PBHGetVolParmsAsync function indicates that the volume supports folder locking (that is, the bHasFolderLock bit of the vMAttrib field is set), you can use PBHRstFLockAsync to unlock a directory.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)